package com.songshuai.webapi.baseapi.constant;

import java.io.File;

/**
 * 公共基础常量
 *
 * @Author: lhx
 * @Date: 2018/11/1 14:04
 * @Version 1.0
 */
public class BaseConstant {

    /***********************请求方式*********************/
    public static final String REQ_TYPE_GET = "GET";

    public static final String REQ_TYPE_POST = "POST";
    /***********************请求方式*********************/

    /***********************校区级别*********************/
    public static final Integer CAMPUS_LEVEL_TYPE = 6001001;

    /***********************校区级别*********************/


    /***********************数据库是否删除标识*********************/

    public static final Integer IS_DELETE_FLAG_NO = 0;//未删除
    public static final Integer IS_DELETE_FLAG_YES = 1;//已删除

    /***********************数据库是否删除标识*********************/

    /***********************时间日期格式*********************/

    public static final String FORMAT_DATE_1 = "yyyy-MM";
    public static final String FORMAT_DATE_2 = "yyyy-MM-dd";
    public static final String FORMAT_DATE_3 = "yyyy-MM-dd HH:mm:ss";

    /***********************时间日期格式*********************/

    /***********************日志表操作类型event_type*********************/

    public static final String EVENT_TYPE_ERR = "err";//错误
    public static final String EVENT_TYPE_ADD = "add";//添加
    public static final String EVENT_TYPE_DELETE = "delete";//删除
    public static final String EVENT_TYPE_UPDATE = "update";//修改
    public static final String EVENT_TYPE_ADD_AND_DELETE = "add&delete";//添加并删除
    public static final String EVENT_TYPE_UPDATE_AND_DELETE = "update&delete";//修改并删除

    /***********************日志表操作类型event_type*********************/


    /***********************默认初始值*********************/
    public static final Integer DEFAULT_INIT_NUMBER = 1;
    public static final Integer DEFAULT_INIT_LENGTH = 6;
    public static final String DEFAULT_URL_SEPARATOR = "/";
    /***********************默认初始值*********************/

    /***********************响应码标识*********************/
    public static final Integer SUCCESS_CODE = 0;
    public static final String STR_CODE = "code";
    public static final String STR_MSG = "msg";
    /***********************响应码标识*********************/


    public static final String SOP_TYPE_NORMAL = "8130001";
    public static final String SOP_TYPE_VIDEO = "8130002";
}
